package com.hooya.fa.eu.api.bo.report;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 1
 * @Author : Zongz
 * @Copyright Copyright (c) 豪雅集团
 * @Create 2024/1/10
 * @Version 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProfitCheckBO {

    //--------------- excel内容 ---------------
    @ExcelProperty(value = "sku", index = 0)
    private String sku;

    @ExcelProperty(value = "invoice_number", index = 1)
    private String invoiceNumber;

    @ExcelProperty(value = "invoice_date", index = 2)
    private String invoiceDate;

    @ExcelProperty(value = "inbound_date", index = 3)
    private String inboundDate;

    @ExcelIgnore
    private Double price;

    @ExcelProperty(value = "begin_of_the_month_stock", index = 4)
    private Integer beginOfTheMonthStock;

    @ExcelProperty(value = "end_of_the_month_stock", index = 5)
    private Integer endOfTheMonthStock;

    @ExcelProperty(value = "inbound", index = 6)
    private Integer inbound;

    @ExcelProperty(value = "sales", index = 7)
    private Integer sales;

    @ExcelProperty(value = "transfer", index = 8)
    private Integer transfer;

    @ExcelProperty(value = "lost", index = 9)
    private Integer lost;

    @ExcelProperty(value = "restock", index = 10)
    private Integer restock;

    @ExcelProperty(value = "in_price_eur", index = 11)
    private Double inPriceEur;

    @ExcelProperty(value = "in_price_usd", index = 12)
    private Double inPriceUsd;

    @ExcelProperty(value = "currency_rate", index = 13)
    private Double currencyRate;

    @ExcelProperty(value = "pln", index = 14)
    private Double pln;

    @ExcelProperty(value = "type", index = 15)
    private String type;

    @ExcelIgnore
    private String flag;

    //--------------- 数据库兼容内容 ---------------
    @ExcelIgnore
    private Integer id;

    /**
     * 货权
     */
    @ExcelIgnore
    private String belongs;

    /**
     * 卖家
     */
    @ExcelIgnore
    private String seller;

    /**
     * 仓库
     */
    @ExcelIgnore
    private String place;

    /**
     * 数量
     */
    @ExcelIgnore
    private Integer remainingNum;

    /**
     * 币种
     */
    @ExcelIgnore
    private String currency;

    /**
     * 交易时间
     */
    @ExcelIgnore
    private String exchangeDate;

    /**
     * 美元费率
     */
    @ExcelIgnore
    private Double usdPlnRate;

    /**
     * 欧元费率
     */
    @ExcelIgnore
    private Double eurPlnRate;

    /**
     * 欧元费率
     */
    @ExcelIgnore
    private Boolean change;

    //--------------- 业务兼容内容 ---------------
    /**
     * 追踪id
     */
    @ExcelIgnore
    private Integer trackId;

    /**
     * （多次变更数量时）当日sku最初值
     */
    @ExcelIgnore
    private Integer numRecord;

}
